html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, code, img, b, small, label,
i, dl, dt, dd, ol, ul, li, form, time, strong, aside, canvas, footer, header,
nav, section, article, input{
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Helvetica Neue", Helvetica, STHeiTi, Roboto, sans-serif;
    vertical-align: baseline;
    -webkit-text-size-adjust:none;
    -webkit-touch-callout: none;
    text-decoration: none;
}

html{
    background-color: #ddd;
    font-size: 16px;
}

body {
    background-color: #fff;
    -webkit-overflow-scrolling: touch;
}

ol, ul{
    list-style: none;
}

input, button{
    outline: none;
}

@mixin trans($x,$y){
    transform: translate($x,$y);
    -ms-transform: translate($x,$y) ;  /*IE 8*/
    -moz-transform: translate($x,$y);
    -webkit-transform: translate($x,$y);
    -o-transform: translate($x,$y);
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5;
    -o-transition: all 0.5s;
}

@mixin clear{
    &:after{
        content: " ";
        visibility: hidden;
        display: block;
        height: 0;
        clear: both;
    }
}

.hide{
    display: none;
}

header {
  position: relative;
  background-color: #F1C40F;
  box-sizing: border-box;
  padding: 10px 22px 50px;
}

h1{
    margin: 0;
    font-weight: 400;
    color: #fff;
    font-size: 34px;
}

@media (min-width: 500px){
    body{
        max-width: 500px;
        margin: 0 auto;
    }
}

.search{
    display: block;
    width: 100%;
    border: none;
    outline: none;
    margin: 0 auto;
    font-size: 20px;
    padding: 6px 12px;
    box-sizing: border-box;
    border-radius: 2px;
    color: #2c3e50;
    &::-webkit-input-placeholder{
        font-size: 14px;
        line-height: 24px;
        vertical-align: middle;
        padding-left: 4px;
    }
}

.tab{
  position: absolute;
  width: 100%;
  height: 50px;
  left: 0;
  box-sizing:border-box;
  color: white;
  list-style-type: none;
  li{
    box-sizing:border-box;
    float: left;
    line-height: 47px;
    margin-right: 0;
    text-align: center;
    width: 50%;
   }
}

.borderbottom{
  border-bottom: 3px solid #E67E22;
}

.card{
    border-radius: 4px;
    box-sizing: border-box;
    margin: 20px;
    background-color: #F8F8F8;
    box-shadow: 0 1px 2px rgba(0,0,0,0.125);
    padding: 10px;
}

.card-title{
    font-size: 20px;
    color: #2c3e50;
    padding-bottom: 10px;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    border-bottom: 1px solid #ddd;
}

.card-items{
    color: #2c3e50;
    font-size: 14px;
    margin-top: 14px;
    width: 100%;
    table-layout: auto;
    td.card-item-value{
        color: #2c3e50;
        width: 50%;
        white-space: nowrap;
    }
    td{
        line-height: 1.6em;
    }
}

.card-searched{
    margin-bottom: 14px;
}

.card-item-label{
}

.fix{
   overflow: hidden;
   width: 100%;
   .wrap{
      width: 200%;
      overflow: hidden;
      position: relative;
       #takeout,#main{
          width: 50%;
          float: left;
          box-sizing:border-box;}
   }
}

.hide{
  display: none;
}

footer{
    font-size: 12px;
    text-align: center;
    color: #2c3e50;
    padding-bottom: 10px;
}

.slideleft{ @include trans(-50%,0);}
.slideright{ @include trans(0,0);}

#search-result{
    color: #2c3e50;
    font-size: 14px;
    &>p{
        padding: 6px 20px;
    }
    &>.hr{
        margin: 0 20px;
        border-top: 1px dashed #ddd;
    }
}

#search-key{
    font-style: italic;
}
